import Vue from 'vue';
import Router from 'vue-router';
import Home from './views/Home.vue';
// import Login from './views/login/login.vue';

Vue.use(Router);

export default new Router({
    routes: [
        {
            path: '/home',
            name: 'home',
            component: Home
        },
        {
            path: '/',
            name: 'login',
            component: () => import('./views/login/login.vue')
        },
        {
            path: '/agreement',
            name: 'agreement',
            component: () => import('./views/login/agreement.vue')
        },
        {
            path: '/forget',
            name: 'forget',
            component: () => import('./views/login/forget.vue')
        }
    ]
});
